package com.zmkj.cn.comm.annotation;


import com.zmkj.cn.comm.baseenum.SynchroInitDataEnum;
import com.zmkj.cn.comm.baseenum.SynchroInitDetailEnum;

import java.lang.annotation.*;


/**
 * @author 伍绍宇
 * 同步前端数据
 */
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SynchroInitDataAnnotation {
    /**
     * 同步前端数据类型
    */
    SynchroInitDataEnum type();


    SynchroInitDetailEnum detail() default SynchroInitDetailEnum.NOMAL;
}
